package com.xiaomi.dao;

import com.xiaomi.pojo.User;

import java.util.List;

/**
 * @ClassName UserDao
 * @Description TODO
 * @Author xiao宋
 * @Date 17:57  2022/9/13
 * @Version 1.0
 */
public interface UserDao {
    User findByUsername(String username);

    int addUser(User user);

    User findUserAndPwd(String username,String password);

    List<User> getUserList();

    void deleteUserById(String id);
}

